<template>
  <div class="container">
    <Row style="height: 100%">
      <i-col span="24" style="height: 100%"> 
        <div class="luckysheet" id="setCellFormatFf"></div>
      </i-col>
    </Row>
  </div>
</template>

<script>
import {cellData} from '../../demoData/cell/setCellFormatFf/cellData'
export default {
  name: "setCellFormatFf",
  data() {
    return {
      options: {
        container: "setCellFormatFf", // 设定DOM容器的id
        title: "单元格字体", // 设定表格名称
        lang: "zh", // 设定表格语言
        userImage:
          "https://cdn.jsdelivr.net/npm/luckyresources@1.0.3/assets/img/logo/logo.png", // 头像url
        userInfo: "方云", //用户信息
        data: [
          //数据
          {
            name: "表一", //工作表名称
            color: "",
            index: 0, //唯一id
            status: 1,
            order: 0,
            celldata: cellData(),
            config: {
                rowlen: {//行高
                   "0": 30,
                   "1": 30,
                   "2": 30,
                   "3": 30,
                   "4": 30,
                   "5": 30,
                   "6": 30,
                   "7": 30,
                   "8": 30,
                   "9": 30,
                   "10": 30,
                   "11": 30,
                   "12": 30,
                   "13": 30,
                   "14": 30,
                },
                columnlen: {//列宽
                   "0": 200,
                   "1": 250,
                   "2": 300
                }
            },
          },
        ],
      },
    };
  },
  methods: {
    
  },
  mounted() {
    // 初始化表格
    luckysheet.create(this.options);
  },
};
</script>

<style scoped>
.luckysheet {
  width: 100%;
  height: 100%;
}
</style>
